You can use the Spotify and YT Music Blueprints without ESPresense
Prerequisites#
ESPresense: Tolerance Update#
Create input_select#
config/configuration.yaml
input_select:
fixt_ble_dropdown:
name: Fixt BLE Dropdown
options:
- Away
- Bedroom
- Living Room
- Kitchen
- Entrance
- Restroom
initial: Away
Music Blueprints#
Room Music Follow - Spotify#
Room Music Follow - YT Music#
- Added media selector to select playlist or album to play
Automation Example#
config/configuration.yaml
description: ""
mode: single
trigger:
- platform: state
entity_id:
- input_select.fixt_ble_dropdown
condition:
- condition: state
entity_id: input_boolean.bedroom_sleep
state: "off"
action:
- choose:
- conditions:
- condition: state
entity_id: input_select.fixt_ble_dropdown
state: Living Room
sequence:
- service: script.room_music_follow_living_room
data: {}
- conditions:
- condition: state
entity_id: input_select.fixt_ble_dropdown
state: Bedroom
sequence:
- service: script.room_music_follow_bedroom
data: {}
- conditions:
- condition: state
entity_id: input_select.fixt_ble_dropdown
state: Entrance
sequence:
- service: script.room_music_follow_entrance
data: {}
- conditions:
- condition: state
entity_id: input_select.fixt_ble_dropdown
state: Kitchen
sequence:
- service: script.room_music_follow_kitchen
data: {}
- conditions:
- condition: state
entity_id: input_select.fixt_ble_dropdown
state: Restroom
sequence:
- service: script.room_music_follow_restroom
data: {}
- conditions:
- condition: state
entity_id: input_select.fixt_ble_dropdown
state: Away
sequence:
- service: media_player.media_stop
data: {}
target:
# Change to your Spotify or Youtube Music Player
entity_id: media_player.ytube_music_player
alias: Music Follow
I would love to hear your comments, or suggestions on this post.
Fixt is a Software Engineer passionate about making the world a better place through technology and automation.